import {EventEmitter, Injectable} from '@angular/core';

@Injectable()
export class TipService {

  tipEmit = new EventEmitter<any>();
  constructor() { }

  change(flag, message) {
    this.tipEmit.emit({flag, message});
  }


}
